﻿<%@ Page Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="FeedBackList.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.MessageMange.FeedBackList"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="AuditNoticeList.aspx">公告列表</a></li>
            <li><a href="MessageGet.aspx">消息列表</a></li>
            <li class="active"><a href="FeedBackList.aspx">反馈列表</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td align="right">
                    发送时间：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtSendTimeFrom" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                        Width="62px"></asp:TextBox>
                    -<asp:TextBox ID="txtSendTimeTo" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                        Width="62px"></asp:TextBox>
                </td>
                <td align="right">
                    阅读状态：
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlStatus" runat="server">
                        <asp:ListItem Value="0">未读</asp:ListItem>
                        <asp:ListItem Value="1">已读</asp:ListItem>
                        <asp:ListItem Value="2">已回复</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" CssClass="btn" Text="查 询" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwFeedBack" runat="server" AutoGenerateColumns="false"
        CssClass="mainlist" OnRowDataBound="gvwFeedBack_RowDataBound" EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
                <ItemTemplate>
                    <a href="MessageInfo.aspx?mID=<%# Eval("FeedBackID") %>&flag=M3">
                        <asp:Label ID="lblTitle" runat="server" Text='<%# Server.HtmlEncode(Eval("Title").ToString()) %>' ToolTip="点击进入查看详细信息"></asp:Label></a>
                </ItemTemplate>
                <HeaderStyle Width="300px"/>
            </asp:TemplateField>
            <asp:BoundField DataField="SendTime" HeaderText="发送时间" ControlStyle-Width="100px" />
            <asp:TemplateField HeaderText="阅读状态">
                <ItemTemplate>
                    <asp:Literal ID="ltrStatus" runat="server" Text='<%# Eval("Status") %>'></asp:Literal>
                </ItemTemplate>
                <HeaderStyle Width="100px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
    </webdiyer:AspNetPager>
    </div>
</asp:Content>
